//
//  YMMineService.h
//  YMMedical
//
//  Created by y s on 2023/7/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YMMineService : NSObject

//操作视频
+ (void)requestMineQuestionListDataPageNo:(NSInteger)pageNo
                                  success:(void(^)(NSArray *arrData))success
                                  failure:(void(^)(NSString *message))failure;
//关于我们
+ (void)requestMineAboutUsSuccess:(void(^)(NSString *contentStr))success
                          failure:(void(^)(NSString *message))failure;
/** 操作手册 */
+ (void)requestMineProductSpecificationPageNo:(NSInteger)pageNo
                                      success:(void(^)(NSArray *arrData))success
                                      failure:(void(^)(NSString *message))failure;
/** 意见反馈 */
+ (void)requestFeedbackDataWithContent:(NSString *)contentStr
                               imgUrls:(NSArray *)imgUrls
                               success:(void(^)(void))success
                               failure:(void(^)(NSString *message))failure;
/** 我的设备列表 */
+ (void)requestMineMyDeviceListDataWithPage:(NSInteger)pageNo
                                    success:(void(^)(NSArray *arrData))success
                                    failure:(void(^)(NSString *message))failure;
/** 设备绑定的用户 */
+ (void)requestMineDeviceBindAccountListDataWithPage:(NSInteger)pageNo
                                            needpage:(NSInteger)needpage
                                              snCode:(NSString *)snCode
                                             success:(void(^)(NSArray *arrData))success
                                             failure:(void(^)(NSString *message))failure;
/** 删除设备 */
+ (void)requestMineDeleteDeviceWithRowId:(NSString *)rowId
                                 success:(void(^)(void))success
                                 failure:(void(^)(NSString *message))failure;

/** 新增被测人 */
+ (void)requestMineAddNewTesteeWithName:(NSString *)name
                                 height:(NSString *)height
                                    sex:(NSString *)sex
                                   year:(NSString *)year
                                 weight:(NSString *)weight
                                success:(void(^)(NSString *idStr))success
                                failure:(void(^)(NSString *message))failure;
/** 被测人列表数据 */
+ (void)requestMineTesteeListDataWithPage:(NSInteger)pageNo
                                 needpage:(NSInteger)needpage
                                  success:(void(^)(NSArray *arrData))success
                                  failure:(void(^)(NSString *message))failure;
/** 被测人管理查询接口 */
+ (void)requestMineTesteeManagerSearchDataWithName:(NSString *)name
                                           success:(void(^)(NSArray *arrData))success
                                           failure:(void(^)(NSString *message))failure;
/** 删除被测人 */
+ (void)requestMineDeleteTesteeWithRowId:(NSString *)rowId
                                 success:(void(^)(void))success
                                 failure:(void(^)(NSString *message))failure;
/** 编辑被测人 */
+ (void)requestMineEditTesteeInformationWithName:(NSString *)name
                                          height:(NSString *)height
                                             sex:(NSString *)sex
                                            year:(NSString *)year
                                          weight:(NSString *)weight
                                           rowid:(NSString *)rowid
                                         success:(void(^)(NSString *idStr))success
                                         failure:(void(^)(NSString *message))failure;

@end

NS_ASSUME_NONNULL_END
